package com.databasedesign.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("dormitorylivein")
public class DormitoryLivein {

    @TableId(value = "dormitorylivein_id", type = IdType.AUTO) //指定id类型为自增长
    private Integer DormitoryLivein_id;

    private Integer dormitory_id;

    private Integer student_id;

    private String student_number;

    private Integer bed;

    public DormitoryLivein() {
    }

    public DormitoryLivein(Integer dormitoryLivein_id, Integer dormitory_id, Integer student_id, String student_number, Integer bed) {
        DormitoryLivein_id = dormitoryLivein_id;
        this.dormitory_id = dormitory_id;
        this.student_id = student_id;
        this.student_number = student_number;
        this.bed = bed;
    }
}
